package com.xydtech.ecard.config.domain;

import com.xydtech.common.annotation.Excel;
import com.xydtech.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 电子名片海报分享配置信息记录对象 ecard_poster_share_conf
 *
 * @author xydtech
 * @date 2022-12-09
 */
public class EcardPosterShareConf extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Long id;

    /** 法人机构id */
    @Excel(name = "法人机构id")
    private Long deptId;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long userId;

    /** 二维码开关 */
    @Excel(name = "二维码开关")
    private String qrCodeSwitch;

    /** 二维码类型（1小程序，2自定义。默认1） */
    private String qrCodeType;

    /** 二维码路径 */
    @Excel(name = "二维码路径")
    private String qrCodeUrl;

    /** 二维码提示语 */
    @Excel(name = "二维码提示语")
    private String qrCodeClew;

    /** 个人信息开关(1,是，2否) */
    @Excel(name = "个人信息开关(1,是，2否)")
    private String userInfoSwitch;

    /** 个人信息集，逗号隔开 */
    @Excel(name = "个人信息集，逗号隔开")
    private String userInfo;

    private int count;
    /**原二维码路径  */
    private String oldQrCodeUrl;
    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setDeptId(Long deptId)
    {
        this.deptId = deptId;
    }

    public Long getDeptId()
    {
        return deptId;
    }
    public void setUserId(Long userId)
    {
        this.userId = userId;
    }

    public Long getUserId()
    {
        return userId;
    }
    public void setQrCodeSwitch(String qrCodeSwitch)
    {
        this.qrCodeSwitch = qrCodeSwitch;
    }

    public String getQrCodeSwitch()
    {
        return qrCodeSwitch;
    }
    public void setQrCodeUrl(String qrCodeUrl)
    {
        this.qrCodeUrl = qrCodeUrl;
    }

    public String getQrCodeUrl()
    {
        return qrCodeUrl;
    }
    public void setQrCodeClew(String qrCodeClew)
    {
        this.qrCodeClew = qrCodeClew;
    }

    public String getQrCodeClew()
    {
        return qrCodeClew;
    }
    public void setUserInfoSwitch(String userInfoSwitch)
    {
        this.userInfoSwitch = userInfoSwitch;
    }

    public String getUserInfoSwitch()
    {
        return userInfoSwitch;
    }
    public void setUserInfo(String userInfo)
    {
        this.userInfo = userInfo;
    }

    public String getUserInfo()
    {
        return userInfo;
    }

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }

    public String getOldQrCodeUrl() {
        return oldQrCodeUrl;
    }

    public void setOldQrCodeUrl(String oldQrCodeUrl) {
        this.oldQrCodeUrl = oldQrCodeUrl;
    }

    public String getQrCodeType() {
        return qrCodeType;
    }

    public void setQrCodeType(String qrCodeType) {
        this.qrCodeType = qrCodeType;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("deptId", getDeptId())
            .append("userId", getUserId())
            .append("qrCodeSwitch", getQrCodeSwitch())
            .append("qrCodeUrl", getQrCodeUrl())
            .append("qrCodeClew", getQrCodeClew())
            .append("userInfoSwitch", getUserInfoSwitch())
            .append("userInfo", getUserInfo())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("count", getCount())
            .append("oldQrCodeUrl", getOldQrCodeUrl())
            .append("qrCodeType", getQrCodeType())
            .toString();
    }
}
